#ifndef SYNC_COUNTER_TRIGGER_H
#define SYNC_COUNTER_TRIGGER_H

// trigger on callback type
typedef void (*trigger_on_fn_t)(void *data);

// trigger off callback type
typedef void (*trigger_off_fn_t)(void *data);


int new_trigger(
    const char *device_name, 
    trigger_on_fn_t on_fn,
    trigger_off_fn_t off_fn,
    void *data
);


#endif
